#my-slider {
  width: 790px;
  height: 340px;
  position: relative;
  margin: 0 auto;
}
.slider-list > ul {
  width: 100%;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.slider-list__item,
.slider-list__item--selected {
  position: absolute;
  opacity: 0;
  transition: opacity 1s;
}

.slider-list__item--selected {
  opacity: 1;
}

.slide-list__next,
.slide-list__previous {
  color: white;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0 8px;
  font-size: 24px;
  display: inline-block;
  height: 50px;
  line-height: 50px;
  position: absolute;
  top: 50%;
  margin-top: -25px;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.5s;
}
.slide-list__next {
  right: 0;
}
.slide-list__previous {
  left: 0;
}
.slide-list__next::after {
  content: '>';
}

.slide-list__previous::after {
  content: '<';
}

#my-slider:hover .slide-list__next {
  opacity: 1;
}
#my-slider:hover .slide-list__previous {
  opacity: 1;
}

.slide-list__control {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 5px 5px 3px;
  position: absolute;
  margin: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  border-radius: 12px;
}

.slide-list__control-buttons,
.slide-list__control-buttons--selected {
  background-color: white;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  border-radius: 50%;
  cursor: pointer;
}
.slide-list__control-buttons--selected {
  background-color: red;
}
